home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue31 / bcolorbt / BCOLORBT.ZIP / dfs.inc < prev    next >
Encoding:
Text File  |  1998-01-08  |  1.4 KB  |  37 lines

  1. {******************************************************************************}
  2. {* Delphi Free Stuff Include File.  This file is used for all my components   *}
  3. {* to create some standard defines.  This will help reduce headaches when new *}
  4. {* versions of Delphi and C++Builder are released, among other things.        *}
  5. {******************************************************************************}
  6. {* Brad Stowers: bstowers@pobox.com                                           *}
  7. {* Delphi Free Stuff: http://www.pobox.com/~bstowers/delphi/                  *}
  8. {* December 27, 1997                                                          *}
  9. {******************************************************************************}
  10.  
  11. {$DEFINE DELPHI_FREE_STUFF}
  12.  
  13. {$IFDEF VER100}
  14.   {$DEFINE DFS_DELPHI_3}
  15.   {$DEFINE DFS_DELPHI}
  16.   {$DEFINE DFS_WIN32}
  17.   {$DEFINE DFS_USEDEFSHLOBJ} { Only Delphi 3 and C++B have no errors in SHLOBJ }
  18.   {$DEFINE DFS_NO_COM_CLEANUP}
  19. {$ELSE}{$IFDEF VER93}
  20.   {$DEFINE DFS_CPPB_1}
  21.   {$DEFINE DFS_CPPB}
  22.   {$DEFINE DFS_WIN32}
  23.   {$DEFINE DFS_USEDEFSHLOBJ} { Only Delphi 3 and C++B have no errors in SHLOBJ }
  24. {$ELSE}{$IFDEF VER90}
  25.   {$DEFINE DFS_DELPHI_2}
  26.   {$DEFINE DFS_DELPHI}
  27.   {$DEFINE DFS_WIN32}
  28. {$ELSE}{$IFDEF VER80}
  29.   {$DEFINE DFS_DELPHI_1}
  30.   {$DEFINE DFS_DELPHI}
  31. {$ELSE}
  32.   { Don't know what the hell it is.  Could be new version, or could be old BP. }
  33.   {$DEFINE DFS_UNKNOWN_COMPILER}
  34. {$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}
  35.  
  36.  
  37.